<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML LANG="EN-US">
<HEAD>
<TITLE>VT100.net: VT330/VT340 Programmer Reference Manual</TITLE>
<LINK HREF="vt330.css" TYPE="text/css" REL="stylesheet">
</HEAD>
<BODY>
<DIV CLASS="navbar"><A HREF="http://vt100.net/"><IMG CLASS="button" SRC="vt100.net-logo.png" ALT="VT100.net" HEIGHT="16" WIDTH="102"></A> VT330/VT340 Programmer Reference Manual Volume 2: Graphics Programming<TABLE WIDTH="100%">
<COL SPAN="3" WIDTH="33%">
<TBODY>
<TR>
<TD ALIGN="LEFT"><A HREF="chapter6.html">Chapter 6</A></TD>
<TD ALIGN="CENTER"><A HREF="contents.html">Contents</A></TD>
<TD ALIGN="RIGHT"><A HREF="chapter8.html">Chapter 8</A></TD>
</TR>
</TBODY>
</TABLE>
<HR></DIV>
<H1 ID="S7"><SPAN CLASS="chapnum">7</SPAN> Text Command</H1>
<P>ReGIS text commands let you draw characters in different sizes, positions, and
orientations. You can use characters from the terminal's built-in character sets,
or you can design and load your own set (<A HREF="chapter8.html">Chapter 8</A>).</P>
<P>Text commands start with the letter T. There are 10 options and arguments
for text commands. You can use text strings with many of these options.</P>
<UL>
<LI>Character set</LI>
<LI>Character spacing</LI>
<LI>Size options</LI>
<LI>Height multiplier</LI>
<LI>Size multiplier</LI>
<LI>String tilt</LI>
<LI>Italics</LI>
<LI>Temporary text control</LI>
<LI>PV spacing</LI>
<LI>Temporary write controls</LI>
</UL>
<P>With two exceptions, the values you select with these options remain in effect
until you define new values. The exceptions are temporary write controls and
temporary text controls.</P>
<UL>
<LI><P>Temporary write control values only remain in effect for the text
command you use them with.</P></LI>
<LI><P>Temporary text controls have specific start and end options. ReGIS
processes all values between the start and end options as part of the
temporary text control.</P></LI>
</UL>
<H2 ID="S7.1">How the Terminal Draws Characters</H2>
<P>You use the text command options to select the size and form of characters.
The terminal uses the same basic method to draw these characters, no matter
what size and form you select.</P>
<OL>
<LI><P>Selects the character from a stored character set.</P></LI>
<LI><P>Scales the character according to multiplication and size values.</P></LI>
<LI><P>Orients the character with the tilt values.</P></LI>
<LI><P>Draws the character into the bitmap. You can then use the PV spacing
value or position command to reposition other characters.</P></LI>
</OL>
<H3 ID="S7.1.1">Character Format</H3>
<P>All characters follow a specific format. The size of a stored character cell is 80
pixels (8 pixels wide &times; 10 pixels high).</P>
<P><A HREF="#F7-1">Figure 7-1</A> shows examples of 8 &times; 10 character formats. All characters are
right-justified within the format. When the terminal starts to draw a character,
the upper-left pixel of the 8 &times; 10 cell is at the cursor position.</P>
<TABLE ID="F7-1" CLASS="figure" WIDTH="100%">
<CAPTION>Figure 7-1 Stored Character Format Examples</CAPTION>
<COL ALIGN="CENTER">
<TBODY>
<TR>
<TD><IMG SRC="ma-0410-86.png" ALT=""></TD>
</TR>
<TR>
<TD><TABLE CLASS="command-example" FRAME="BORDER" RULES="GROUPS" CELLSPACING="0" CELLPADDING="8">
<TBODY>
<TR>
<TD ALIGN="CENTER">NOTE</TD>
</TR>
</TBODY>
<TBODY>
<TR VALIGN="TOP">
<TD>Characters shown are examples from<BR>character set 0 (the stored ASCII set).<BR>
Characters are shown in full 8 &times; 10<BR>pixel array.</TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE>
<H3 ID="S7.1.2">Orientation</H3>
<P>The terminal uses the cursor position at the start of a character as the pivot
point for drawing the character on the screen. For example, a character drawn
in the normal orientation (left to right on a straight line, with no tilt) appears
below and to the right of the cursor.</P>
<P>If the character is tilted 180 degrees, it appears above and to the left of the
cursor. The starting cursor position is always the pixel value at the upper-left
point of the stored character form. All pivoting occurs at that point.</P>
<H2 ID="S7.2">Text Strings</H2>
<P>You use text strings to draw text characters. You use characters from the
terminal's built-in character sets, or you can design and load a set (<A HREF="chapter8.html">Chapter 8</A>).
All the built-in sets have 94 characters, except the ISO set. The ISO set has
96 characters.</P>
<TABLE CLASS="dpadded">
<THEAD>
<TR>
<TH>Built-In Character Sets</TH>
</TR>
</THEAD>
<TBODY>
<TR>
<TD>ASCII</TD>
</TR>
<TR>
<TD>ISO Latin Nr 1 supplemental graphic</TD>
</TR>
<TR>
<TD>DEC Supplemental Graphic</TD>
</TR>
<TR>
<TD>DEC Special Graphic</TD>
</TR>
<TR>
<TD>DEC Technical</TD>
</TR>
<TR>
<TD>National replacement character (NRC) sets (14 sets)</TD>
</TR>
</TBODY>
</TABLE>
<H3 ID="S7.2.1">Control Characters in Text Strings</H3>
<P>ReGIS only recognizes four control characters in text strings. ReGIS ignores
other control characters. For example, ReGIS treats the semicolon (;) and the
at sign (@) as text characters in a text string. Outside text strings, the semicolon
is a command to resynchronize ReGIS, and the at sign indicates macrographs (<A HREF="chapter9.html">Chapter 9</A>).</P>
<P>You can use the following four control characters in a text string.</P>
<TABLE CLASS="dpadded">
<TBODY>
<TR VALIGN="TOP">
<TD>Carriage return</TD>
<TD>CR</TD>
<TD>Returns the cursor to the horizontal position where the current text writing command started.</TD>
</TR>
<TR VALIGN="TOP">
<TD>Line feed</TD>
<TD>LF</TD>
<TD>Moves the cursor down one line in the same column.</TD>
</TR>
<TR VALIGN="TOP">
<TD>Backspace</TD>
<TD>BS</TD>
<TD>Moves the cursor back one character position. You can use BS to overstrike a character.</TD>
</TR>
<TR VALIGN="TOP">
<TD>Horizontal tab</TD>
<TD>HT</TD>
<TD>Moves the cursor forward one character position, using the current text spacing value.</TD>
</TR>
</TBODY>
</TABLE>
<H3 ID="S7.2.2">Format</H3>
<P>You use the following format for a simple text string command, without any options.</P>
<P CLASS="example">T'&lt;text string&gt;'</P>
<P>where</P>
<DIV CLASS="example"><P><B>T</B> identifies a text command.</P>
<P><B>' '</B> are single or double quotation marks that enclose the text string. You
must use the same type of quotation mark at the start and end.</P>
<P><B>&lt;text string&gt;</B> are the 7- or 8-bit characters to draw.</P></DIV>
<P>You enclose a text string with a set of quotes ('&lt;text&gt;'), or double
quotes ("&lt;text&gt;"). You can use one type of quote to enclose the text string,
and the other type within the string.</P>
<P><STRONG>Examples</STRONG></P>
<UL>
<LI>"don't" appears on the screen as don't</LI>
<LI>'"stop"' appears on the screen as "stop"</LI>
</UL>
<P>Some text strings may require both types of quotes within the string. You can
use two quote marks in a row, so ReGIS recognizes one as a text string item,
and not the end of the text string. The two quote marks must be next to each
other (no spaces).</P>
<P><STRONG>Examples</STRONG></P>
<UL>
<LI>'don''t' appears on the screen as don't</LI>
<LI>"ditto ("")" appears on the screen as ditto (")</LI>
</UL>
<P>You can use a comma to concatenate two strings enclosed by the same type of
quotes. You place the comma between the strings.</P>
<P><STRONG>Examples</STRONG></P>
<UL>
<LI><P><STRONG>With a comma</STRONG><BR>
"Stop ","Here" appears on the screen as Stop Here</P></LI>
<LI><P><STRONG>Without a comma</STRONG><BR>
"Stop ""Here" appears on the screen as Stop "Here</P></LI>
</UL>
<H2 ID="S7.3">Character Set Option &#8211; A</H2>
<P>The character set option lets you select which set to use for a text string.
When you enter ReGIS, the terminal uses the ASCII character set and the
ISO Latin-1 supplemental graphic set.</P>
<P CLASS="note">NOTE: You should be familiar with how the terminal stores and uses character
sets (Volume 1, Chapter 2). In ReGIS mode, the terminal accesses character
sets similar to the way it does in text mode. However, in ReGIS mode, the
terminal uses a different in-use table. The text in-use table can contain different
character sets from the ReGIS in-use table.</P>
<P>You use the following format for selecting a character set.</P>
<P CLASS="example">T(A&lt;0 to 3&gt;)</P>
<P>where</P>
<DIV CLASS="example"><P><B>A</B> identifies a character set option. 'A' stands for "alphabet".</P>
<P><B>&lt;0 to 3&gt;</B> is a number that identifies the character set to use.</P>
<TABLE CLASS="padded">
<TBODY>
<TR VALIGN="TOP">
<TD>0</TD>
<TD>Selects one or more of the terminal's built-in character
sets (such as ASCII and ISO Latin-1 supplemental graphic).</TD>
</TR>
<TR VALIGN="TOP">
<TD>1,&nbsp;2,&nbsp;or&nbsp;3</TD>
<TD>Selects a set you can load into the terminal. This
set can have up to 96 characters, but can only include 7-bit characters. (See <A HREF="chapter8.html">Chapter 8</A>.)</TD>
</TR>
</TBODY>
</TABLE></DIV>
<P>ReGIS uses only one 8-bit character code table to store the character set you
select for alphabet 0 (A0). This code table has a left half (GL) for 7-bit characters,
and a right half (GR) for 8-bit characters.</P>
<P>When you enter ReGIS, the terminal automatically maps the ASCII character
set into GL and the ISO Latin-1 supplemental graphic set into GR. You can
select a character set for GL or GR by using the L or R suboptions as follows.</P>
<H3 ID="S7.3.1">Select GL Character Set &#8211; L</H3>
<P>You use the L suboption to map one of the terminal's built-in character sets
into the left half (GL) of the in-use table. You can only use this suboption when
you select alphabet 0.</P>
<P>The format for the text command with the L suboption is as follows.</P>
<P CLASS="example">T(A0(L"&lt;designator&gt;"))</P>
<P>where</P>
<P CLASS="example"><B>&lt;designator&gt;</B> indicates which character set the command selects. <A HREF="#T7-1">Table
7-1</A> shows how to select any one of the terminal's 7-bit, 94-character sets
with this command.</P>
<TABLE ID="T7-1" CLASS="majortable">
<CAPTION>Table 7-1 Selecting a 7-Bit Set with the L or R Suboption</CAPTION>
<THEAD>
<TR VALIGN="BOTTOM">
<TH>To Select This Set</TH>
<TH>Use This Designator</TH>
<TD COLSPAN="2">&nbsp;</TD>
</TR>
</THEAD>
<TBODY>
<TR VALIGN="TOP">
<TD>ASCII</TD>
<TD>(B</TD>
<TD COLSPAN="2"></TD>
</TR>
<TR VALIGN="TOP">
<TD>DEC Special Graphics</TD>
<TD>(0</TD>
<TD COLSPAN="2"></TD>
</TR>
<TR VALIGN="TOP">
<TD>DEC Technical</TD>
<TD>(&gt;</TD>
<TD COLSPAN="2"></TD>
</TR>
<TR VALIGN="TOP">
<TD COLSPAN="4"><EM>National Replacement Character Sets</EM></TD>
</TR>
<TR VALIGN="TOP">
<TD>British</TD>
<TD>(A</TD>
<TD>Italian</TD>
<TD>(Y</TD>
</TR>
<TR VALIGN="TOP">
<TD>Dutch</TD>
<TD>(4</TD>
<TD>Norwegian/Danish</TD>
<TD>(`</TD>
</TR>
<TR VALIGN="TOP">
<TD>Finnish</TD>
<TD>(5</TD>
<TD>Portuguese</TD>
<TD>(%6</TD>
</TR>
<TR VALIGN="TOP">
<TD>French</TD>
<TD>(R</TD>
<TD>Spanish</TD>
<TD>(Z</TD>
</TR>
<TR VALIGN="TOP">
<TD>French Canadian</TD>
<TD>(9</TD>
<TD>Swedish</TD>
<TD>(7</TD>
</TR>
<TR VALIGN="TOP">
<TD>German</TD>
<TD>(K</TD>
<TD>Swiss</TD>
<TD>(=</TD>
</TR>
</TBODY>
</TABLE>
<P><STRONG>Examples</STRONG></P>
<UL>
<LI><P>This command selects the DEC Technical set for use with ReGIS.</P>
<P>T(A0(L"(&gt;"))</P></LI>
<LI><P>This command selects the DEC Special Graphic set for use with ReGIS.</P>
<P>T(A0(L"(0"))</P></LI>
</UL>
<H3 ID="S7.3.2">Select GR Character Set &#8211; R</H3>
<P>This command is the same as the select GL character set command, except
this command maps the desired character set into the right half (GR) of the
in-use table. You can only use this suboption when you select alphabet 0.</P>
<P>The format for the text command with the R suboption is as follows.</P>
<P CLASS="example">T(A0(R"&lt;designator&gt;"))</P>
<P>You can select any one of the terminal's character sets, including any 8-bit set,
with the R suboption. <A HREF="#T7-1">Table 7-1</A> shows how to select 7-bit sets. <A HREF="#T7-2">Table 7-2</A> shows
how to select 8-bit sets.</P>
<TABLE ID="T7-2" CLASS="majortable">
<CAPTION>Table 7-2 Selecting an 8-Bit Set with the R Suboption</CAPTION>
<THEAD>
<TR VALIGN="BOTTOM">
<TH>To Select This Set</TH>
<TH>Use This Designator</TH>
</TR>
</THEAD>
<TBODY>
<TR VALIGN="TOP">
<TD>DEC Supplemental Graphic</TD>
<TD>)%5</TD>
</TR>
<TR VALIGN="TOP">
<TD>ISO Latin-1 supplemental</TD>
<TD>-A</TD>
</TR>
</TBODY>
</TABLE>
<P><STRONG>Example</STRONG></P>
<UL>
<LI><P>This command selects the DEC Supplemental Graphic set for use with ReGIS.</P>
<P>T(A0(R")%5"))</P></LI>
<LI><P>This command maps the ASCII set into GL and the DEC
Supplemental Graphic set into GR for use with ReGIS.</P>
<P>T(A0(L"(B",R")%5"))</P></LI>
</UL>
<P><STRONG>Notes on the L and R Suboptions</STRONG></P>
<UL>
<LI><P>If you omit the 0 or use another number other than 0 after the A when
using the R or L suboption, the terminal ignores the command.</P></LI>
</UL>
<H3 ID="S7.3.3">Selecting User-Defined (Loadable) Sets</H3>
<P>You can select any set for use with ReGIS. However, the terminal displays a
solid block error character if:</P>
<UL>
<LI><P>you select a loadable set (1, 2, or 3) that does not have any characters
loaded. The block appears for each text string character.</P></LI>
<LI><P>you try to use a text string character that is not in the selected
character set.</P></LI>
</UL>
<P><A HREF="chapter8.html">Chapter 8</A> describes how to load a soft character set.</P>
<H2 ID="S7.4">Character Spacing</H2>
<P>There are three ways to specify the spacing between text characters.</P>
<UL>
<LI><P>Select a standard cell size. ReGIS uses the character spacing value
associated with that size. You select a cell size with the S option (next section).</P></LI>
<LI><P>Select the direction of the character string.</P></LI>
<LI><P>Specify a spacing value with relative X and Y values, as follows.</P></LI>
</UL>
<P>You use the following format for the character spacing argument.</P>
<P CLASS="example">T&lt;position&gt;</P>
<P>where</P>
<P CLASS="example"><B>&lt;position&gt;</B> is a relative [X,Y] value. You can specify one or both coordinates.
This value provides equal spacing between characters. After drawing
a text character, ReGIS uses this &lt;position&gt; value to select the next cursor
position.</P>
<P>For most cases, you will only use a positive X value. A [+X] value keeps text
characters on a horizontal line, from left to right. However, you can use a negative
X value to draw a string backwards. You can also use Y values (+ or -)
with different X values (+ or -) to produce a staircase effect.</P>
<P>The spacing value does not change the baseline orientation of characters. For
example, you can still use tilted or italic characters. <A HREF="#F7-2">Figure 7-2</A> shows how
different character spacing values can affect a text string.</P>
<TABLE ID="F7-2" CLASS="figure" WIDTH="100%">
<CAPTION>Figure 7-2 Example of Character Spacing Alignment</CAPTION>
<COL ALIGN="CENTER">
<COL WIDTH="480" ALIGN="RIGHT">
<TBODY>
<TR>
<TD><TABLE CLASS="command-example" FRAME="BORDER" RULES="GROUPS" CELLSPACING="0" CELLPADDING="8">
<TBODY>
<TR>
<TD ALIGN="CENTER">COMMANDS</TD>
</TR>
</TBODY>
<TBODY>
<TR VALIGN="TOP">
<TD>P[100,100]<BR>T(S4)<BR>'ABCD'<BR>P[300]<BR>T[35,25]<BR>'ABCD'<BR>P[575,100]<BR>T[-35,25]<BR>'ABCD'</TD>
</TR>
</TBODY>
</TABLE></TD>
<TD><IMG SRC="ma-0723-83.png" ALT=""></TD>
</TR>
<TR>
<TD></TD>
<TD ALIGN="LEFT"><SMALL>NOTE:<BR>Graphic assumes background value of I3 (default white), foreground value of
I0 (default dark), and all write controls at default values.<BR>&nbsp;</SMALL></TD>
</TR>
</TBODY>
</TABLE>
<H2 ID="S7.5">Size Options &#8211; S</H2>
<P>There are three types of character sizes you can select.</P>
<UL>
<LI>Standard character cell size</LI>
<LI>Display cell size</LI>
<LI>Unit cell size</LI>
</UL>
<P>The display cell is the size of the screen area used for each character. The unit
cell is the size of each character within the display cell. Standard character cell
sizes select a display cell size and unit cell size.</P>
<H3 ID="S7.5.1">Standard Character Cell Sizes</H3>
<P>There are 17 standard character cell sizes available. Each standard size has
specific display cell, unit cell, and character position values assigned. The character
position is the spacing value used between characters. The character position
tells ReGIS how far to move the cursor after drawing a character.</P>
<P>You use the following format for the standard character cell size option.</P>
<P CLASS="example">T(S&lt;0 to 16&gt;)</P>
<P>where</P>
<DIV CLASS="example"><P><B>S</B> identifies a cell size option.</P>
<P><B>&lt;0 to 16&gt;</B> is a number that selects a standard character cell size. <A HREF="#T7-3">Table
7-3</A> lists the values assigned to each standard character cell size. The values
in <A HREF="#T7-3">Table 7-3</A> are [X,Y] screen address coordinates.</P></DIV>
<TABLE ID="T7-3" CLASS="majortable">
<CAPTION>Table 7-3 Standard Character Cell Sizes</CAPTION>
<THEAD>
<TR VALIGN="BOTTOM">
<TH>Set Number</TH>
<TH>Display Cell Size</TH>
<TH>Unit Cell Size</TH>
<TH>Character Positioning</TH>
</TR>
</THEAD>
<TBODY>
<TR>
<TD>S0</TD>
<TD>[9,10]</TD>
<TD>[8,10]</TD>
<TD>[9,]</TD>
</TR>
<TR>
<TD>S1</TD>
<TD>[9,20]</TD>
<TD>[8,20]</TD>
<TD>[9,]</TD>
</TR>
<TR>
<TD>S2</TD>
<TD>[18,30]</TD>
<TD>[16,30]</TD>
<TD>[18,]</TD>
</TR>
<TR>
<TD>S3</TD>
<TD>[27,45]</TD>
<TD>[24,45]</TD>
<TD>[27,]</TD>
</TR>
<TR>
<TD>S4</TD>
<TD>[36,60]</TD>
<TD>[32,60]</TD>
<TD>[36,]</TD>
</TR>
<TR>
<TD>S5</TD>
<TD>[45,75]</TD>
<TD>[40,75]</TD>
<TD>[45,]</TD>
</TR>
<TR>
<TD>S6</TD>
<TD>[54,90]</TD>
<TD>[48,90]</TD>
<TD>[54,]</TD>
</TR>
<TR>
<TD>S7</TD>
<TD>[63,105]</TD>
<TD>[56,105]</TD>
<TD>[63,]</TD>
</TR>
<TR>
<TD>S8</TD>
<TD>[72,120]</TD>
<TD>[64,120]</TD>
<TD>[72,]</TD>
</TR>
<TR>
<TD>S9</TD>
<TD>[81,135]</TD>
<TD>[72,135]</TD>
<TD>[81,]</TD>
</TR>
<TR>
<TD>S10</TD>
<TD>[90,150]</TD>
<TD>[80,150]</TD>
<TD>[90,]</TD>
</TR>
<TR>
<TD>S11</TD>
<TD>[99,165]</TD>
<TD>[88,165]</TD>
<TD>[99,]</TD>
</TR>
<TR>
<TD>S12</TD>
<TD>[108,180]</TD>
<TD>[96,180]</TD>
<TD>[108,]</TD>
</TR>
<TR>
<TD>S13</TD>
<TD>[117,195]</TD>
<TD>[104,195]</TD>
<TD>[117,]</TD>
</TR>
<TR>
<TD>S14</TD>
<TD>[126,210]</TD>
<TD>[112,210]</TD>
<TD>[126,]</TD>
</TR>
<TR>
<TD>S15</TD>
<TD>[135,225]</TD>
<TD>[120,225]</TD>
<TD>[135,]</TD>
</TR>
<TR>
<TD>S16</TD>
<TD>[144,240]</TD>
<TD>[128,240]</TD>
<TD>[144,]</TD>
</TR>
</TBODY>
</TABLE>
<P CLASS="note">NOTE: The sizes in this table are expressed in screen coordinate values. These
values are based on the default screen addressing for the VT300. See <A HREF="chapter2.html">Chapter 2</A>.</P>
<H3 ID="S7.5.2">Display Cell Size</H3>
<P>This option lets you define the height and width of a display cell, using [X,Y]
values. The display cell is the size of the screen area used for each text character.
You use the following format for the display cell size option.</P>
<P CLASS="example">T(S[width,height])</P>
<P>where</P>
<DIV CLASS="example"><P><B>S</B> identifies a cell size option.</P>
<P><B>[width,height]</B> are the width and height values of the unit cell, expressed in
actual screen coordinates.</P></DIV>
<P>This option does not change the size of characters. You use the unit cell size
option to change character size.</P>
<H3 ID="S7.5.3">Unit Cell Size</H3>
<P>This option lets you define the size of characters, using [X,Y] values. You use
the following format for the unit cell size option.</P>
<P CLASS="example">T(U[width,height])</P>
<P>where</P>
<DIV CLASS="example"><P><B>U</B> identifies a unit cell size option.</P>
<P><B>[width,height]</B> are the width and height of the unit cell, expressed in
screen coordinates.</P></DIV>
<P>Because ReGIS uses a default character cell of 8 &times; 10, the width value must
be a positive multiple of 8, the height value must be a positive multiple of 5.
For example, you could use a width of 32 (4 &times; 8), and a height of 35 (7 &times; 5).
If you do not use a multiple, ReGIS uses the next smaller size. For example, if
you select a height of 38, ReGIS uses 35.</P>
<P>Keep the unit cell size as close as possible to the display cell size. Otherwise,
the following side effects could occur.</P>
<UL>
<LI><P><STRONG>When the unit cell is smaller than the display cell</STRONG><BR>
The terminal displays each text character with the unused part of
the display cell filled in at the background intensity.</P></LI>
<LI><P><STRONG>When the unit cell is larger than the display cell</STRONG><BR>
The terminal only displays the part of a text character that can fit
into the display cell on the screen.</P></LI>
</UL>
<P>All characters are justified at the upper-left corner in the display cell, relative
to the current character baseline orientation.</P>
<P><A HREF="#F7-3">Figure 7-3</A> shows examples of characters drawn with the same unit cell size,
but different display cell sizes.</P>
<DIV CLASS="centrefig"><TABLE ID="F7-3" CLASS="figure" WIDTH="480">
<CAPTION>Figure 7-3 Example of Display Cell and Unit Cell Size Options</CAPTION>
<COL ALIGN="CENTER">
<TBODY>
<TR>
<TD><IMG SRC="ma-0724-83.png" ALT=""></TD>
</TR>
<TR>
<TD ALIGN="LEFT"><SMALL>NOTE:<BR>Graphic assumes background value of I3 (default white), foreground value of I0
(default dark), and all write controls at default values.<BR>&nbsp;</SMALL></TD>
</TR>
<TR>
<TD><TABLE CLASS="command-example" FRAME="BORDER" RULES="GROUPS" CELLSPACING="0" CELLPADDING="8">
<TBODY>
<TR>
<TD ALIGN="CENTER">COMMANDS</TD>
</TR>
</TBODY>
<TBODY>
<TR VALIGN="TOP">
<TD>P[100,100]<BR>T[54](S[36,60],U[40,60])<BR>
[25,]'ABCD'<BR>P[300,200]<BR>T(S[54,90])<BR>[50,]'ABCD'<BR>P[300,300]<BR>T(S[27,45])<BR>[25,]'ABCD'</TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></DIV>
<H2 ID="S7.6">Height Multiplier &#8211; H</H2>
<P>This option lets you change the height of characters without changing their
width. This option changes the height value of the display cell and unit cell to
the same size. You use the following format for the height multiplier option.</P>
<P CLASS="example">T(H&lt;height&gt;)</P>
<P>where</P>
<DIV CLASS="example"><P><B>H</B> identifies the height multiplier option.</P>
<P><B>&lt;height&gt;</B> is a multiplication factor for the character cell's height. This
value is restricted to a range of 1 to 256.</P></DIV>
<P>ReGIS multiplies the default character cell height of 10 pixels by the value you
enter. The result is the new character height.</P>
<P CLASS="example">New height = option value &times; 10</P>
<P>For example, an option value of 7 changes the height of the display cell and
unit cell to 70.</P>
<P><A HREF="#F7-4">Figure 7-4</A> shows an example of how the height multiplier option changes text
characters. As shown, only the height values change. Character spacing and
width values remain the same.</P>
<TABLE ID="F7-4" CLASS="figure" WIDTH="100%">
<CAPTION>Figure 7-4 Height Multiplier Option Example</CAPTION>
<COL ALIGN="CENTER">
<COL WIDTH="480" ALIGN="RIGHT">
<TBODY>
<TR>
<TD><TABLE CLASS="command-example" FRAME="BORDER" RULES="GROUPS" CELLSPACING="0" CELLPADDING="8">
<TBODY>
<TR>
<TD ALIGN="CENTER">COMMANDS</TD>
</TR>
</TBODY>
<TBODY>
<TR VALIGN="TOP">
<TD>P[50,50]<BR>T(S3,H1)<BR>'height 1'<BR>T(H6)<BR>'height 6'<BR>T(H16)<BR>'height 16'</TD>
</TR>
</TBODY>
</TABLE></TD>
<TD><IMG SRC="ma-0725-83.png" ALT=""></TD>
</TR>
<TR>
<TD></TD>
<TD ALIGN="LEFT"><SMALL>NOTE:<BR>Graphic assumes background value of I3 (default white),
foreground value of I0 (default dark), and all write controls at default values.<BR>&nbsp;</SMALL></TD>
</TR>
</TBODY>
</TABLE>
<H2 ID="S7.7">Size Multiplier &#8211; M</H2>
<P>This option lets you multiply the standard height and width of characters. You
select different factors for the height and width. You use the following format
of the pixel multiplier option.</P>
<P CLASS="example">T(M[width,height])</P>
<P>where</P>
<DIV CLASS="example"><P><B>M</B> identifies a size multiplication option.</P>
<P><B>[width,height]</B> are the multiplication factors for the width and height of
characters.</P></DIV>
<P>ReGIS  applies these factors to the height and width of the unit cell for standard
size 1 (S1). The standard size is [8,20] in screen coordinates.</P>
<P CLASS="note">NOTE: You use both the M and U options to set the unit cell size. U expresses
the unit cell size in [X,Y] screen addresses. M expresses the unit cell size as a
multiple of standard character cell size 1.</P>
<P>You can select a width value from 1 to 16. If you use a value greater than 16,
ReGIS uses a value of 16.</P>
<P>You can use this option with the character spacing and display cell size options,
to create character forms not available with the standard character cell size option.</P>
<H2 ID="S7.8">String and Character Tilt Options</H2>
<P>Normally, ReGIS draws characters from left to right along a horizontal baseline.
However, in some applications you may want to write the text at an angle.
The following options let you tilt individual characters or text strings at any 45
degree increment, for a full 360 degrees.</P>
<TABLE CLASS="dpadded">
<TBODY>
<TR VALIGN="TOP">
<TD>String tilt option</TD>
<TD>Selects the tilt angle for a text string.</TD>
</TR>
<TR VALIGN="TOP">
<TD>String/character tilt option</TD>
<TD>Defines two tilt angles: one for the text string as a unit, and one for the
characters in the string.</TD>
</TR>
</TBODY>
</TABLE>
<P>The tilt angle is relative to the horizontal baseline. <A HREF="#F7-5">Figure 7-5</A> is a tilt compass
that shows the direction of tilt for each value you can use with the tilt options.</P>
<TABLE ID="F7-5" CLASS="figure" WIDTH="100%">
<CAPTION>Figure 7-5 Tilt Compass</CAPTION>
<COL ALIGN="CENTER">
<TBODY>
<TR>
<TD><IMG SRC="ma-0654-83.png" ALT=""></TD>
</TR>
</TBODY>
</TABLE>
<H3 ID="S7.8.1">Character Distortion with Tilt Angles</H3>
<P>When you draw characters at diagonal angles, you may see some distortion.
The distortion occurs because screen pixels are arranged in horizontal and vertical
rows. The distance between pixels on a diagonal line is greater than the
distance between pixels on a horizontal or vertical line.</P>
<P>There is no distortion at 0 and 180 degrees. At these two angles, all width
pixels align on an X-axis, and all height pixels align on a Y-axis.</P>
<P>Distortion can occur at all other angles. ReGIS compensates for the distortion
at 90 and 270 degrees. ReGIS does <EM>not</EM> compensate for distortion at 45, 135,
225, and 315 degrees. When you draw characters at these diagonal angles, they
will appear distorted. The amount of distortion depends on the normal size and
proportion of the character.</P>
<P><A HREF="#F7-6">Figure 7-6</A> shows an example of the distortion that occurs when you draw diagonal
characters. The figure shows a character drawn at 45 degrees. The same
amount of distortion occurs at 135, 225, and 315 degrees.</P>
<TABLE ID="F7-6" CLASS="figure" WIDTH="100%">
<CAPTION>Figure 7-6 Baseline Orientation and Width Distortion for String/Character Tilt Option</CAPTION>
<COL ALIGN="CENTER">
<TBODY>
<TR>
<TD><IMG SRC="ma-0405-86.png" ALT=""></TD>
</TR>
<TR>
<TD><TABLE CLASS="command-example" STYLE="width: 25em" FRAME="BORDER" RULES="GROUPS" CELLSPACING="0" CELLPADDING="8">
<COL ALIGN="RIGHT">
<COL ALIGN="LEFT">
<TBODY>
<TR>
<TD COLSPAN="2" ALIGN="CENTER">NOTES</TD>
</TR>
</TBODY>
<TBODY>
<TR VALIGN="TOP">
<TD>1.</TD>
<TD>Characters are shown at 0&deg; (far), and 45&deg; (right).</TD>
</TR>
<TR VALIGN="TOP">
<TD>2.</TD>
<TD>9 &times; 10 pixel cell size is outlined to dramatize distortion.</TD>
</TR>
<TR VALIGN="TOP">
<TD>3.</TD>
<TD>X is used to identify the pixel that would be the location at start of a character draw.</TD>
</TR>
<TR VALIGN="TOP">
<TD>4.</TD>
<TD>All characters are drawn from the same Y-axis value in order to dramatize the
relationship characters have to the starting location for different tilt values.</TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE>
<H3 ID="S7.8.2">Correcting Distortion</H3>
<P>When you draw diagonal characters, you can partially correct the distortion by
changing the character cell size. There is one general guideline for correcting
distortion.</P>
<UL>
<LI>Reduce the width of the character cell by one half</LI>
</UL>
<P>You can use this method for any size character. <A HREF="#F7-7">Figure 7-7</A> shows how to correct
the character distortion in <A HREF="#F7-6">Figure 7-6</A>. In <A HREF="#F7-6">Figure 7-6</A>, both B characters are
drawn using standard character cell size 1 (S1). <A HREF="#F7-7">Figure 7-7</A> adjusts the distortion
of the 45 degree character by defining a size 0 character with a multiplier
factor of 1 (S0H1).</P>
<TABLE ID="F7-7" CLASS="figure" WIDTH="100%">
<CAPTION>Figure 7-7 Width Distortion Adjustment for String/Character Tilt</CAPTION>
<COL ALIGN="CENTER">
<TBODY>
<TR>
<TD><IMG SRC="ma-0406-86.png" ALT=""></TD>
</TR>
<TR>
<TD><TABLE CLASS="command-example" STYLE="width: 20em" FRAME="BORDER" RULES="GROUPS" CELLSPACING="0" CELLPADDING="8">
<COL ALIGN="RIGHT">
<COL ALIGN="LEFT">
<TBODY>
<TR>
<TD COLSPAN="2" ALIGN="CENTER">NOTES</TD>
</TR>
</TBODY>
<TBODY>
<TR VALIGN="TOP">
<TD>1.</TD>
<TD>All notes from <A HREF="#F7-6">Fig. 7-6</A> apply.</TD>
</TR>
<TR VALIGN="TOP">
<TD>2.</TD>
<TD>45&deg; tilt character is adjusted by defining a 5&nbsp;&times;&nbsp;9 display cell, and
a 4&nbsp;&times;&nbsp;10 unit cell before drawing.</TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE>
<TABLE CLASS="dpadded">
<THEAD>
<TR>
<TD></TD>
<TH>Unit Cell</TH>
<TH>Display Cell</TH>
</TR>
</THEAD>
<TBODY>
<TR>
<TD>S1 Cell</TD>
<TD>8 &times; 20</TD>
<TD>9 &times; 20</TD>
</TR>
<TR>
<TD>S0H1 Cell</TD>
<TD>&#8211;</TD>
<TD>8 &times; 20</TD>
</TR>
</TBODY>
</TABLE>
<P>Remember, even the corrected characters will have a slight distortion of size.
This distortion is more apparent when you draw larger characters. You may
need to perform an additional adjustment.</P>
<P>For example, suppose you are drawing a size 8 character at 45 degrees.</P>
<P CLASS="example">S8 size = 64 &times; 120 unit cell (64 &times; 60 pixels)</P>
<P>Using the method just described, you would change you cell size to a size 4
character with an H factor of 6.</P>
<P CLASS="example">S4H1 size = 32 &times; 120 unit cell (32 &times; 60 pixels)</P>
<P>You could get a better result by using a size 3 with an H factor of 5.</P>
<P CLASS="example">S3H5 size = 24 &times; 100 unit cell (24 &times; 50 pixels)</P>
<H3 ID="S7.8.3">String Tilt &#8211; D</H3>
<P>This option selects the baseline angle for text strings. ReGIS draws all characters
in a text string along this baseline. When you use this option, the baseline
of each character in the string slopes with the defined tilt. You use the following
format for the string tilt option.</P>
<P CLASS="example">T(D&lt;angle&gt;,S&lt;0 to 16&gt;)</P>
<P>where</P>
<DIV CLASS="example"><P><B>D</B> identifies a tilt option.</P>
<P><B>&lt;angle&gt;</B> is the tilt angle. You can use 45 degree increments.</P>
<P><B>S</B> identifies a cell size option.</P>
<P><B>&lt;0 to 16&gt;</B> is a number that selects one of the 17 standard character cell
sizes. ReGIS uses the spacing value associated with the cell size to space
the characters in the tilted string.</P></DIV>
<P><A HREF="#F7-8">Figure 7-8</A> shows how each string tilt value affects a text string.</P>
<P CLASS="note">NOTE: The terminal redefines the Y-axis at the start of each character.
However, the tilt is the same for each character. So the cursor position at the
start of the text string serves as a pivot point for the whole text string.</P>
<P><A HREF="#F7-8">Figure 7-8</A> does not show any character distortion. The previous section describes
how to correct character distortion by changing the size value used. For
example, to match a size 1 character at a tilt of 45 degrees, you could use the
command T(D45,S0,H1).</P>
<TABLE ID="F7-8" CLASS="figure" WIDTH="100%">
<CAPTION>Figure 7-8 String Tilt Directions</CAPTION>
<COL ALIGN="CENTER">
<TBODY>
<TR>
<TD><IMG SRC="ma-0728-83.png" ALT=""></TD>
</TR>
</TBODY>
</TABLE>
<H3 ID="S7.8.4">String/Character Tilt</H3>
<P>This option defines one tilt angle for a text string, and another tilt angle for
the characters in the string. You use the following format for the string/character
tilt option.</P>
<P CLASS="example">T(D&lt;string angle&gt;,S&lt;0 to 16&gt;,D&lt;character angle&gt;)</P>
<P>where</P>
<DIV CLASS="example"><P><B>D</B> identifies a tilt option.</P>
<P><B>&lt;string angle&gt;</B> is the tilt angle for the string. You can use 45 degree increments.</P>
<P><B>S</B> identifies a cell size option.</P>
<P><B>&lt;0 to 16&gt;</B> is a number that selects 1 of the 17 standard character cell
sizes. ReGIS uses the spacing value associated with the cell size to space
the characters in the tilted string.</P>
<P><B>D</B> identifies a second tilt option.</P>
<P><B>&lt;character angle&gt;</B> is the tilt angle for characters within the string. You
can use 45 degree increments.</P></DIV>
<P><A HREF="#F7-9">Figure 7-9</A> shows some different effects you can produce with this option. This
figure does not show any character distortion. The section on character distortion
describes how to correct distortion by changing the character cell size. For
example, to match a size 1 character drawn at 90 degrees, on a string tilted at
45 degrees, you could use the command T(D45 S0H2 D90).</P>
<TABLE ID="F7-9" CLASS="figure" WIDTH="100%">
<CAPTION>Figure 7-9 String/Character Tilt Option Directions</CAPTION>
<COL ALIGN="CENTER">
<TBODY>
<TR>
<TD><IMG SRC="ma-0729-83.png" ALT=""></TD>
</TR>
</TBODY>
</TABLE>
<H2 ID="S7.9">Italics Option &#8211; I</H2>
<P>This option lets you tilt characters without changing their orientation to the
baseline. You use the following format for the italics option.</P>
<P CLASS="example">T(I&lt;angle&gt;)</P>
<P>where</P>
<DIV CLASS="example"><P><B>I</B> identifies an italics option.</P>
<P><B>&lt;angle&gt;</B> is the degree and direction of the slant. If you use a positive (+)
sign or no sign, the slant is up and to left. If you use a negative (-) sign,
the slant is up and to the right. The angle at which a character slants
depends on the &lt;angle&gt; values included in the option. The following list
shows how various &lt;angle&gt; values affect the slant of the character.</P>
<TABLE CLASS="dpadded">
<THEAD>
<TR>
<TH>&lt;angle&gt; Value</TH>
<TH>Actual Italic Angle</TH>
</TR>
</THEAD>
<TBODY>
<TR>
<TD>-31 or less</TD>
<TD>-45 degrees</TD>
</TR>
<TR>
<TD>-1 through -30</TD>
<TD>-22</TD>
</TR>
<TR>
<TD>0</TD>
<TD>0 (not slanted)</TD>
</TR>
<TR>
<TD>1 through 30</TD>
<TD>22</TD>
</TR>
<TR>
<TD>31 or greater</TD>
<TD>45</TD>
</TR>
</TBODY>
</TABLE></DIV>
<P><A HREF="#F7-10">Figure 7-10</A> shows an H character drawn at the four italic slant values.</P>
<P>This option does not significantly distort characters, unless you use it with the
tilt option. You can use italic slants with the tilt option to create special
effects.</P>
<TABLE ID="F7-10" CLASS="figure" WIDTH="100%">
<CAPTION>Figure 7-10 Italic Option Slant Values</CAPTION>
<COL ALIGN="CENTER">
<TBODY>
<TR>
<TD><IMG SRC="ma-0730-83.png" ALT=""></TD>
</TR>
</TBODY>
</TABLE>
<H2 ID="S7.10">Temporary Text Control</H2>
<P>ReGIS uses the text command option values you select until you change them.
However, you can use temporary values to draw a sequence of text strings.
After you complete the sequence, the options return to their previous values.
You use the following format for the temporary text control option.</P>
<P CLASS="example">T(B)&lt;arguments&gt;T(E)</P>
<P>where</P>
<DIV CLASS="example"><P><B>(B)</B> is the start of a temporary text control option.</P>
<P><B>&lt;arguments&gt;</B> are the temporary text control arguments to use.</P>
<P><B>(E)</B> is the end of the temporary text control option.</P></DIV>
<P>This option saves only those text controls already in effect. You enter the temporary
values and your text strings between a begin (B) and end (E) option.</P>
<P><A HREF="#F7-11">Figure 7-11</A> shows an example of a temporary text control option that uses a
string tilt.</P>
<TABLE ID="F7-11" CLASS="figure" WIDTH="100%">
<CAPTION>Figure 7-11 Temporary Option Example</CAPTION>
<COL ALIGN="CENTER">
<COL WIDTH="480" ALIGN="RIGHT">
<TBODY>
<TR>
<TD><TABLE CLASS="command-example" FRAME="BORDER" RULES="GROUPS" CELLSPACING="0" CELLPADDING="8">
<TBODY>
<TR>
<TD ALIGN="CENTER">COMMANDS</TD>
</TR>
</TBODY>
<TBODY>
<TR VALIGN="TOP">
<TD>P[100,100]<BR>T(D0,S5,I0)<BR>'ABCD'<BR>P[500,100]<BR>T(B)<BR>(D180,S5)<BR>'ABCD'<BR>(E)<BR>P[500,100]<BR>T'ABCD'</TD>
</TR>
</TBODY>
</TABLE></TD>
<TD><IMG SRC="ma-0731-83.png" ALT=""></TD>
</TR>
<TR>
<TD></TD>
<TD ALIGN="LEFT"><SMALL>NOTE:<BR>Graphic assumes background value of I3 (default white), foreground value of I0
(default dark), and all write controls at default values.<BR>&nbsp;</SMALL></TD>
</TR>
</TBODY>
</TABLE>
<H2 ID="S7.11">PV Spacing &#8211; Subscripts, Superscripts, and Overstrikes</H2>
<P>You use pixel vector (PV) spacing arguments to create subscripts, superscripts,
and overstrikes. The direction specified by the PV value is relative to the current
baseline for text characters.</P>
<P>In text commands, each PV value defines a movement equal to one half of the
defined display cell, in the direction specified. The PV multiplication factor does
not affect this movement. You use the following format for the PV spacing
argument.</P>
<P CLASS="example">T&lt;PV value&gt;</P>
<P>where</P>
<DIV CLASS="example"><P><B>&lt;PV value&gt;</B> is a number that selects one of the following functions. For
each function, ReGIS uses an offset equal to one half of the current display
cell size.</P>
<TABLE CLASS="padded">
<THEAD>
<TR>
<TH CLASS="first">Value</TH>
<TH>Function</TH>
</TR>
</THEAD>
<TBODY>
<TR VALIGN="TOP">
<TD CLASS="first">1</TD>
<TD><STRONG>Superscript</STRONG> &#8211; Moves the character up from the baseline
and away from the previous character.</TD>
</TR>
<TR VALIGN="TOP">
<TD CLASS="first">2</TD>
<TD><STRONG>Superscript</STRONG> &#8211; Moves the character straight up from the baseline.</TD>
</TR>
<TR VALIGN="TOP">
<TD CLASS="first">4</TD>
<TD><STRONG>Overstrike</STRONG> &#8211; A 44 value moves the character back over the previous character cell.</TD>
</TR>
<TR VALIGN="TOP">
<TD CLASS="first">6</TD>
<TD><STRONG>Subscript</STRONG> &#8211; Moves the character straight down from the baseline.</TD>
</TR>
<TR VALIGN="TOP">
<TD CLASS="first">7</TD>
<TD><STRONG>Subscript</STRONG> &#8211; Moves the character down from the baseline and away from the previous character.</TD>
</TR>
</TBODY>
</TABLE></DIV>
<P>You can use PV values of 3 and 5, but they partially overwrite the previous
character. A 3 moves the character up and back toward the previous character.
A 5 moves the character down and back toward the previous character.</P>
<P>A PV value of 0 moves a character forward one-half character cell along the
baseline. This value is useful for inserting visually pleasing space between adjacent
characters.</P>
<P>When you use a PV value, you change the distance from the baseline for text
characters. ReGIS uses that PV value for all following text strings, until you
change the value. You can return to the original baseline by selecting the PV
value for the opposite function. For example, if you selected superscripting (PV
= 2), use subscripting (PV = 6). For an overstrike (44), use the PV value 00.</P>
<P CLASS="note">NOTE: PV spacing is relative to the baseline. If you tilt the baseline, PV spacing
rotates with that baseline.</P>
<P><A HREF="#F7-12">Figure 7-12</A> shows a simple example of subscripting with the PV spacing
argument.</P>
<TABLE ID="F7-12" CLASS="figure" WIDTH="100%">
<CAPTION>Figure 7-12 PV Spacing Argument Example</CAPTION>
<COL ALIGN="CENTER">
<COL WIDTH="480" ALIGN="RIGHT">
<TBODY>
<TR>
<TD><TABLE CLASS="command-example" FRAME="BORDER" RULES="GROUPS" CELLSPACING="0" CELLPADDING="8">
<TBODY>
<TR>
<TD ALIGN="CENTER">COMMANDS</TD>
</TR>
</TBODY>
<TBODY>
<TR VALIGN="TOP">
<TD>P[300,200]<BR>T(S2)<BR>'H' 7 '2' 1 'O'</TD>
</TR>
</TBODY>
</TABLE></TD>
<TD><IMG SRC="ma-0732-83.png" ALT=""></TD>
</TR>
<TR>
<TD></TD>
<TD ALIGN="LEFT"><SMALL>NOTE:<BR>Graphic assumes background value of I3 (default white), foreground value of I0
(default dark), and all write controls at default values.<BR>&nbsp;</SMALL></TD>
</TR>
</TBODY>
</TABLE>
<H2 ID="S7.12">Temporary Write Control</H2>
<P>Some write control options in <A HREF="chapter4.html">Chapter 4</A> affect the appearance of the text characters
you draw. For example, these options control the shade/color of text.
When you use text commands, ReGIS uses the current settings for these write
control options.</P>
<P>You can use a temporary write control option to change one or more of these
settings for one command. ReGIS uses the temporary values until you use one
of the following commands.</P>
<UL>
<LI><P>another temporary write control option</P></LI>
<LI><P>any command that begins with a command letter, such as a vector
(V) command or another text (T) command</P></LI>
<LI><P>a resynchronization command (semicolon)</P></LI>
</UL>
<P>When you use one of the above commands, the writing control options return
to their previous values.</P>
<P>You include the temporary write control option in your text command. You can
use the following write control options from <A HREF="chapter3.html">Chapter 3</A>.</P>
<UL>
<LI>Intensity control</LI>
<LI>Erase writing</LI>
<LI>Replace writing</LI>
<LI>Overlay writing</LI>
<LI>Complement writing</LI>
</UL>
<P>You can use this option to change shade/color, as well as writing mode (overlay,
replace, erase, or complement). You use the following format for a temporary
write control option.</P>
<P CLASS="example">T(W(&lt;suboptions&gt;))&lt;arguments&gt;</P>
<P>where</P>
<DIV CLASS="example"><P><B>W</B> identifies a temporary write control option.</P>
<P><B>&lt;suboptions&gt;</B> are the temporary write control values to use.</P>
<P><B>&lt;arguments&gt;</B> are the text command arguments that will use the temporary
write control values.</P></DIV>
<P><A HREF="#F7-13">Figure 7-13</A> shows a simple example of the temporary write control option.</P>
<DIV CLASS="centrefig"><TABLE ID="F7-13" CLASS="figure" WIDTH="480">
<CAPTION>Figure 7-13 Example of Temporary Write Control Option</CAPTION>
<COL ALIGN="CENTER">
<TBODY>
<TR>
<TD><IMG SRC="ma-0733-83.png" ALT=""></TD>
</TR>
<TR>
<TD ALIGN="LEFT"><SMALL>NOTE:<BR>Graphic assumes background value of I3 (default white), foreground value of I0
(default dark), and all write controls at default values.<BR>&nbsp;</SMALL></TD>
</TR>
<TR>
<TD><TABLE CLASS="command-example" FRAME="BORDER" RULES="GROUPS" CELLSPACING="0" CELLPADDING="8">
<TBODY>
<TR>
<TD ALIGN="CENTER">COMMANDS</TD>
</TR>
</TBODY>
<TBODY>
<TR VALIGN="TOP">
<TD>P[400,200]<BR>W(S1)<BR>V[,+100]<BR>[+200]<BR>P[100,100]<BR>T(D0,S5)<BR>'ABCD'<BR>P[410,210]<BR>T(W(C))<BR>'ABCD'<BR>P[100,300]<BR>T'ABCD'</TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></DIV>
<H2 ID="S7.13">Text Command Summary</H2>
<P><A HREF="#T7-4">Table 7-4</A> is a summary of the <B>T</B> command options, including any default
values.</P>
<TABLE ID="T7-4" CLASS="summarytable" FRAME="VOID" RULES="GROUPS" CELLSPACING="0" CELLPADDING="4">
<CAPTION>Table 7-4 Text Command Summary</CAPTION>
<COL WIDTH="35%">
<COL WIDTH="25%">
<COL WIDTH="40%">
<THEAD>
<TR VALIGN="BOTTOM">
<TH>Option</TH>
<TH>Default</TH>
<TH>Description</TH>
</TR>
</THEAD>
<TFOOT>
<TR>
<TD COLSPAN="3">* Default value is based on standard S1 character cell.</TD>
</TR>
</TFOOT>
<TBODY>
<TR VALIGN="TOP">
<TD>(A&lt;0 to 3&gt;)</TD>
<TD>0</TD>
<TD><P><STRONG>Select character set</STRONG><BR>
Selects one of four possible character sets (&lt;0 to 3&gt;) to use for text string characters.</P>
<TABLE CLASS="padded">
<TBODY>
<TR VALIGN="TOP">
<TD CLASS="first">(A0)</TD>
<TD>built-in set</TD>
</TR>
<TR VALIGN="TOP">
<TD CLASS="first">(A1 to 3)</TD>
<TD>one of three loadable sets</TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR VALIGN="TOP">
<TD>(A0(L"&lt;designator&gt;"))</TD>
<TD>"(B"</TD>
<TD><P><STRONG>Select character set (left)</STRONG><BR>
Used with the (A0) option to select a built-in 7-bit set for the left side (GL) of the code table.<BR>
Default: ASCII set.</P></TD>
</TR>
<TR VALIGN="TOP">
<TD>(A0(R"&lt;designator&gt;"))</TD>
<TD>"-A"</TD>
<TD><P><STRONG>Select character set (right)</STRONG><BR>
Used with the (A0) option to select a built-in 7-bit or 8-bit set for the
right side (GR) of the code table.<BR>
Default: ISO Latin-1 supplemental graphic set.</P></TD>
</TR>
<TR VALIGN="TOP">
<TD>(S&lt;0 to 16&gt;)</TD>
<TD>1</TD>
<TD><P><STRONG>Standard character cell size</STRONG><BR>
Selects 1 of 17 standard sets. The set defines the display cell, unit cell, and character positioning values for text characters.</P></TD>
</TR>
<TR VALIGN="TOP">
<TD>(S[&lt;width,height&gt;])</TD>
<TD>[9,20]*</TD>
<TD><P><STRONG>Display cell size</STRONG><BR>
Lets you change the size of the screen area used for each character.</P></TD>
</TR>
<TR VALIGN="TOP">
<TD>[X,Y]</TD>
<TD>[9,0]*</TD>
<TD><P><STRONG>Character positioning</STRONG><BR>
Lets you vary spacing between text characters. [X,Y] values are relative.</P></TD>
</TR>
<TR VALIGN="TOP">
<TD>(U[&lt;width,height&gt;])</TD>
<TD>[8,20]*</TD>
<TD><P><STRONG>Unit cell size</STRONG><BR>
Lets you change scaling of characters.</P></TD>
</TR>
<TR VALIGN="TOP">
<TD>(H&lt;height&gt;)</TD>
<TD>2</TD>
<TD><P><STRONG>Height multiplier</STRONG><BR>
Changes the height of the display cell and unit cell, without affecting
the width or positioning values. New height is equal to 10 times the specified multiplier (&lt;1-256&gt;).</P></TD>
</TR>
<TR VALIGN="TOP">
<TD>(D&lt;a&gt; S&lt;0 to 16&gt;)</TD>
<TD>(D0 S1)</TD>
<TD><P><STRONG>String tilt</STRONG><BR>
Selects a tilt angle for text strings, relative to the current baseline.</P>
<TABLE CLASS="padded">
<TBODY>
<TR VALIGN="TOP">
<TD CLASS="first">&lt;a&gt;</TD>
<TD>Selects the degrees of the tilt. (45 degree increments)</TD>
</TR>
<TR VALIGN="TOP">
<TD CLASS="first">&lt;0&nbsp;to&nbsp;16&gt;</TD>
<TD>Selects a standard size to use for positioning tilted characters.</TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR VALIGN="TOP">
<TD>(I&lt;a&gt;)</TD>
<TD>0</TD>
<TD><P><STRONG>Italics</STRONG><BR>
Selects a tilt angle &lt;a&gt; for italic characters without changing their orientation to the current baseline. Angle is &plusmn; 22 or 45 degrees.</P></TD>
</TR>
<TR VALIGN="TOP">
<TD>(B)&lt;options&gt;(E)</TD>
<TD>Text controls in effect</TD>
<TD><P><STRONG>Temporary text control</STRONG><BR>
Selects temporary option values for one text command. Temporary values remain in effect until you use (E).</P></TD>
</TR>
<TR VALIGN="TOP">
<TD>&lt;PV&gt;</TD>
<TD>None</TD>
<TD><P><STRONG>PV spacing</STRONG><BR>
Selects PV value to use for superscripts, subscripts, and overstriking.</P></TD>
</TR>
<TR VALIGN="TOP">
<TD>(W(&lt;options&gt;))</TD>
<TD>Write controls in effect</TD>
<TD><P><STRONG>Temporary write control</STRONG><BR>
Selects temporary write control values for one text command.</P></TD>
</TR>
<TR VALIGN="TOP">
<TD>(M[width,height])</TD>
<TD>[1,2]</TD>
<TD><P><STRONG>Size multiplication</STRONG><BR>
Selects a new unit cell size. Multiplies the height and width of the standard S1 unit cell by the factors you select. The maximum width factor is 16.</P></TD>
</TR>
</TBODY>
</TABLE>
<DIV CLASS="navbar"><HR>
<TABLE WIDTH="100%">
<COL SPAN="3" WIDTH="33%">
<TBODY>
<TR>
<TD ALIGN="LEFT"><A HREF="chapter6.html">Chapter 6</A></TD>
<TD ALIGN="CENTER"><A HREF="contents.html">Contents</A></TD>
<TD ALIGN="RIGHT"><A HREF="chapter8.html">Chapter 8</A></TD>
</TR>
</TBODY>
</TABLE>
<DIV CLASS="navbot">http://vt100.net/docs/vt3xx-gp/chapter7.html</DIV></DIV>
</BODY>
</HTML>
